@import "../variable";
@import "../mixins/mixins";
@import "../mixins/utils.scss";

@include b(SignFlowHomepage) {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  background-image: url(https://medusa-small-file.oss-cn-hangzhou.aliyuncs.com/gruul/20190720/login_bg.png);
  background-repeat: no-repeat;
  background-color: #b8e5f8;
  background-size: cover;
  width: 100%;
  height: 100vh;
  overflow: auto;
  @include e(content) {
    flex: 1 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 2px;
    min-height: 688px;
    height: calc(100% - 42px);
    box-sizing: border-box;
  }

  @include e(logo) {
    width: 120px;
    position: absolute;
    z-index: 9999;
    top: 10px;
    left: 20px;
  }

  @include e(footer) {
    font-size: 12px;
    line-height: 21px;
    text-align: center;
    color: #999;
    padding-bottom: 20px;
  }
}

@include b(SignContainer) {
  display: flex;
  position: relative;
  text-align: center;
  height: 600px;
  color: #909399;

  @include e(content) {
    width: 520px;
    height: 100%;
    position: relative;
    overflow: hidden;
    padding: 40px 70px;
    background-color: #ffffff;
  }

  @include e(img) {
    width: 480px;
    height: 100%;
  }
}

@include b(SignFlow) {

  @include e(tabs) {
    @include flex(space-between);

    @include m(title) {
      color: #2589ff;
      font-size: 20px;
    }

    @include m(switch) {
      @include flex();
      i {
        font-size: 55px;
      }
    }
  }

  @include e(QrCode) {
    min-height: 350px;
  }
}

.SignFlowHomepage .Card {
  overflow: visible;
  //border-radius: 10px;
}

// 切换 密码/验证码 登录tab签
.SignInForm__tabs {
  margin-bottom: 30px;

  .SignInForm__tab {
    margin: 0 10px;
    width: 120px;
    height: 40px;
    box-sizing: border-box;
    line-height: 40px;
    display: inline-block;
    list-style: none;
    font-size: 18px;
    font-weight: 500;
    color: #909399;
    position: relative;
    cursor: pointer;
  }

  .SignInForm__tab--active {
    color: #303133;
  }

  .SignInForm__tab--active::after {
    content: "";
    position: absolute;
    left: 20%;
    bottom: 0;
    width: 60%;
    height: 2px;
    background-color: #2589ff;
    z-index: 1;
  }
}

.SignInForm__password, .SignInForm__code {
  display: flex;
}

// 登录选项
.SignInForm__option {
  @include flex(space-between);
}

.SignInForm__button {
  margin-top: 50px;
  width: 100%;
  height: 56px;
  font-size: 16px;
  border-radius: 28px;
}

// 卡片
.Card {
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgb(217, 236, 255);
  box-sizing: border-box;
}


/* 提示标签 向右 */
.toolTip-right {
  color: #2589ff;
  font-size: 12px;
  line-height: 24px;
  position: relative;
  width: 60px;
  height: 24px;
  border: 1px solid #2589ff;
  border-radius: 3px;
  background-color: rgb(217, 236, 255);
}

.toolTip-right:before {
  content: '';
  display: block;
  position: absolute;
  right: -7px;
  top: 8px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #2589ff;
}

.toolTip-right:after {
  content: '';
  display: block;
  position: absolute;
  right: -6px;
  top: 8px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid rgb(198, 226, 255);
}

.ScanQrCode__container {
  height: 400px;
}

.mb8 {
  margin-bottom: 8px;
}

.impowerBox .qrcode {
  width: 200px
}

